resources:
- name: probe:listener
  resource:
    '@type': type.googleapis.com/envoy.config.listener.v3.Listener
    address:
      socketAddress:
        portValue: 9000
    enableReusePort: false
    filterChains:
    - filters:
      - name: envoy.filters.network.http_connection_manager
        typedConfig:
          '@type': type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
          httpFilters:
          - name: envoy.filters.http.router
            typedConfig:
              '@type': type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
          routeConfig:
            name: probe:route_configuration
            virtualHosts:
            - domains:
              - '*'
              name: probe
              routes:
              - match:
                  headers:
                  - name: :method
                    stringMatch:
                      exact: GET
                  path: /8080/healthz/probe
                route:
                  cluster: localhost:8080
                  regexRewrite:
                    pattern:
                      googleRe2: {}
                      regex: .*
                    substitution: /healthz/probe
          statPrefix: probe_listener
    name: probe:listener
    trafficDirection: INBOUND
